<div class="fly-panel fly-column">
  <div class="layui-container">
    <ul class="layui-clear">
      
      <li {% if cid==200000 %} class="layui-hide-xs layui-this" {% endif %}><a href="{{_G['APP_URL']}}">首页</a></li>
      {% for data in classifyList %}
      <!-- {% if data.level==1 %} -->
      <li {% if data.id==cid %} class="layui-hide-xs layui-this" {% endif %}><a href="{{ G.url('app/search/search',{'cid':data.id})}}">{{data.name}}</a></li> 
      <!-- {% endif %} -->
      {% endfor %}
      <!-- <li><a href="./index.php?m=app&c=index&a=search">分享<span class="layui-badge-dot"></span></a></li> 
      <li><a href="./index.php?m=app&c=index&a=search">讨论</a></li> 
      <li><a href="./index.php?m=app&c=index&a=search">建议</a></li> 
      <li><a href="./index.php?m=app&c=index&a=search">公告</a></li> 
      <li><a href="./index.php?m=app&c=index&a=search">动态</a></li> -->
      <li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><span class="fly-mid"></span></li>  
      
      <!-- 用户登入后显示 -->
      {% if userinfo%}
      <li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="{{ G.url('app/users/index')}}">我发表的贴</a></li>
      {%endif%}
     <!-- <li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="./index.php?m=app&c=users&a=index#collection">我收藏的贴</a></li> -->
    </ul>

    <div class="fly-column-right layui-hide-xs"> 
      <span class="fly-search"><i class="layui-icon"></i></span> 
      <a href="{{ G.url('app/post/add')}}" class="layui-btn">发表新帖</a>
    </div> 
    <div class="layui-hide-sm layui-show-xs-block" style="margin-top: -10px; padding-bottom: 10px; text-align: center;"> 
      <a href="{{ G.url('app/post/add')}}" class="layui-btn">发表新帖</a>
    </div> 
  </div>
</div>